package com.hw.entity.dto.shoppingCart;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 购物车保存实体类
 * @author Xg
 * @date 2021/7/1 20:09
 */
@Data
public class ShoppingCartDTO {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    private Integer id;

    /**
     * 菜品id
     */
    @ApiModelProperty(value = "菜品id")
    private String foodId;

    /**
     * 菜品数量
     */
    @ApiModelProperty(value = "菜品数量")
    private Integer number;

    /**
     * 菜品备注
     */
    @ApiModelProperty(value = "菜品备注")
    private String foodRemark;

    /**
     * 菜品单价
     */
    @ApiModelProperty(value = "菜品单价")
    private Double singlePrice;

    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id")
    private String taskId;
}
